package br.edu.fcsl.projetointegrador;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class MenuPrincipal extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_menu);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
    public void sair(View v){
    	finish();
    }
    
    public void avaliar(View v){
    	startActivity(new Intent(MenuPrincipal.this, Avaliacao.class));
    }
    
    public void estatisticas(View v){
    	startActivity(new Intent(MenuPrincipal.this, Estatisticas.class));
    }
    
    public void individual(View v){
    	startActivity(new Intent(MenuPrincipal.this, EstatisticaIndividual.class));
    }
    
    
}
